package org.easy.tool.common;

import cn.hutool.log.Log;
import cn.hutool.log.level.Level;

/**
 * @author Valley
 * Created by Valley on 2023/7/28 16:55
 */
public class EasyLog implements Log {



    @Override
    public String getName() {
        return null;
    }

    @Override
    public boolean isEnabled(Level level) {
        return false;
    }

    @Override
    public void log(Level level, String s, Object... objects) {

    }

    @Override
    public void log(Level level, Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void log(String s, Level level, Throwable throwable, String s1, Object... objects) {

    }

    @Override
    public boolean isDebugEnabled() {
        return false;
    }

    @Override
    public void debug(Throwable throwable) {

    }

    @Override
    public void debug(String s, Object... objects) {

    }

    @Override
    public void debug(Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void debug(String s, Throwable throwable, String s1, Object... objects) {

    }

    @Override
    public boolean isErrorEnabled() {
        return false;
    }

    @Override
    public void error(Throwable throwable) {

    }

    @Override
    public void error(String s, Object... objects) {

    }

    @Override
    public void error(Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void error(String s, Throwable throwable, String s1, Object... objects) {

    }

    @Override
    public boolean isInfoEnabled() {
        return false;
    }

    @Override
    public void info(Throwable throwable) {

    }

    @Override
    public void info(String s, Object... objects) {
        s = StringUtil.format("{} --- {} --- {}", TimeUtil.now(), "[INFO]", s);
        System.out.println(StringUtil.format(s, objects));
    }

    @Override
    public void info(Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void info(String s, Throwable throwable, String s1, Object... objects) {

    }

    @Override
    public boolean isTraceEnabled() {
        return false;
    }

    @Override
    public void trace(Throwable throwable) {

    }

    @Override
    public void trace(String s, Object... objects) {

    }

    @Override
    public void trace(Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void trace(String s, Throwable throwable, String s1, Object... objects) {

    }

    @Override
    public boolean isWarnEnabled() {
        return false;
    }

    @Override
    public void warn(Throwable throwable) {

    }

    @Override
    public void warn(String s, Object... objects) {

    }

    @Override
    public void warn(Throwable throwable, String s, Object... objects) {

    }

    @Override
    public void warn(String s, Throwable throwable, String s1, Object... objects) {

    }
}
